package com.ruoyi.canteen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单打印日志对象 canteen_order_printer_log
 * 
 * @author zhangw
 * @date 2021-12-03
 */
public class CanteenOrderPrinterLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 打印机编码 */
    @Excel(name = "打印机编码")
    private String printerSn;

    /** 打印机名称 */
    @Excel(name = "打印机名称")
    private String printerName;

    /** 打印机类型 */
    @Excel(name = "打印机类型")
    private String printerType;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderSn;

    /** 打印返回code */
    @Excel(name = "打印返回code")
    private Integer returnCode;

    /** 打印返回提示信息 */
    @Excel(name = "打印返回提示信息")
    private String returnMsg;

    /** 打印返回所有信息 */
    @Excel(name = "打印返回所有信息")
    private String returnJson;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrinterSn(String printerSn) 
    {
        this.printerSn = printerSn;
    }

    public String getPrinterSn() 
    {
        return printerSn;
    }
    public void setPrinterName(String printerName) 
    {
        this.printerName = printerName;
    }

    public String getPrinterName() 
    {
        return printerName;
    }
    public void setPrinterType(String printerType) 
    {
        this.printerType = printerType;
    }

    public String getPrinterType() 
    {
        return printerType;
    }
    public void setOrderSn(String orderSn) 
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn() 
    {
        return orderSn;
    }
    public void setReturnCode(Integer returnCode) 
    {
        this.returnCode = returnCode;
    }

    public Integer getReturnCode() 
    {
        return returnCode;
    }
    public void setReturnMsg(String returnMsg) 
    {
        this.returnMsg = returnMsg;
    }

    public String getReturnMsg() 
    {
        return returnMsg;
    }
    public void setReturnJson(String returnJson) 
    {
        this.returnJson = returnJson;
    }

    public String getReturnJson() 
    {
        return returnJson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("printerSn", getPrinterSn())
            .append("printerName", getPrinterName())
            .append("printerType", getPrinterType())
            .append("orderSn", getOrderSn())
            .append("returnCode", getReturnCode())
            .append("returnMsg", getReturnMsg())
            .append("returnJson", getReturnJson())
            .toString();
    }
}
